package com.simple.portal.bo;

import java.util.List;

import com.simple.portal.vo.ApplicationVO;
import com.simple.util.object.PageInfoBean;
import com.simple.util.object.portal.ApplicationBean;
import com.simple.util.object.portal.SessionUserBean;

public interface IApplicationBO {
	
	ApplicationVO findById(final String id);

    List<ApplicationVO> findAll();

	List<ApplicationBean> findApplicationByPage(final String userId,String appName, final String providerName,final PageInfoBean pageInfoBean);

	void editApplication(final ApplicationVO applicationVO,final SessionUserBean sessionUserBean);

	void addApplication(final ApplicationVO applicationVO,final SessionUserBean sessionUserBean);

	void controlApplication(final String applicationId, final String status,final SessionUserBean sessionUserBean);
	
	List<ApplicationBean> findApplicationByPageByOrganization(String organizationId, String applicationTypeKeyId, PageInfoBean pageInfoBean);
}
